/* 修复声明 */
@define-color theme_fg_color #ffffff;
@define-color theme_text_color #ffffff;
@define-color theme_bg_color #1b1b1b;
@define-color theme_base_color #1b1b1b;
@define-color theme_selected_bg_color #11aaff;
/* GtkStyle*/
.gtkstyle-fallback{color:#ffffff;background-color:#1b1b1b;}
.gtkstyle-fallback:hover{color:#fff;background-color:#1af;}
.gtkstyle-fallback:active{color:#fff;background-color:#1af;}
.gtkstyle-fallback:disabled{color:#ccc;background-color:#1c1c1c;}
.gtkstyle-fallback:selected{color:#fff;background-color:#068;}
/* 窗口基础 */
window{background:#1b1b1b;caret-color:#f22;-gtk-secondary-caret-color:#ff0;}
.background{color:#fff;background:#1b1b1b;}
:backdrop{color:#ccc;}
:focus{outline:1px dashed #1af;-gtk-outline-radius:3px;}
selection{background:#1af;}
:selected{background:#1af;}
:disabled{color:#999;-gtk-icon-effect:dim;}
.needs-attention{background:#f80;color:#000;}
.monospace{font-family:monospace;}
decoration{border:9px solid transparent;border-radius:9px 9px 0 0;}
*{-GtkScrollbar-has-backward-stepper:false;-GtkScrollbar-has-forward-stepper:false;}
/* 选择 */ 
.view:selected:focus,.view text:selected:focus,textview text:selected:focus,.view text:selected,textview text:selected,.view text selection:focus,.view text selection,textview text selection:focus,textview text selection,iconview:selected:focus,iconview:selected,iconview text selection:focus,.view text selection,iconview text selection,flowbox flowboxchild:selected,entry selection,modelbutton.flat:selected,.menuitem.button.flat:selected,spinbutton:not(.vertical) selection,treeview.view:selected:focus,treeview.view:selected,row:selected,calendar:selected{background-color:#1af;color:#fff;}
.view:selected:focus:backdrop,.view text:selected:focus:backdrop,textview text:selected:focus:backdrop,.view text:selected:backdrop,textview text:selected:backdrop,.view text selection:focus:backdrop,.view text selection:backdrop,textview text selection:focus:backdrop,textview text selection:backdrop,iconview:selected:focus:backdrop,iconview:selected:backdrop,iconview text selection:focus:backdrop,.view text selection:backdrop,iconview text selection:backdrop,flowbox flowboxchild:selected:backdrop,entry selection:backdrop,modelbutton.flat:selected:backdrop,.menuitem.button.flat:selected:backdrop,spinbutton:not(.vertical) selection:backdrop,treeview.view:selected:focus:backdrop,treeview.view:selected:backdrop,row:selected:backdrop,calendar:selected{background-color:#068;color:#fff;}
/* 输入框 */
entry{background:#1a1a1a;border-bottom:2px solid #2c2c2c;padding:6px;color:#fff;min-height:19px;}
entry.flat,entry.flat:focus,entry.flat:backdrop,entry.flat:disabled{min-height:0;padding:2px;background-color:transparent;border-color:transparent;}
entry:focus{border-bottom:2px solid #1af;}
entry:backdrop:disabled{color:#666;}
entry.error{color:#f22;}entry.warning{color:#f80;}
entry image{color:#ccc;padding:0 3px;}entry image:hover{color:#fff;}image:active{color:#1af;}entry image:backdrop{color:#aaa;}
entry progress{background:#f00;border:1px solid #0ff;}
/* entry{border-radius:2px 2px 2px 2px;} */
/* 文本视图 */
textview{background:#131313;}
textview border{background:#1f1f1f;}
.view{background:#131313;}
/* 复选框、单选框 */
check,radio{margin:1px 5px;min-height:15px;min-width:15px;border:1px solid #888888;background:transparent;color:#1af}
radio{border-radius:50%;}check{border-radius:3px;}
check:hover,radio:hover{border:1px solid #1af;}
check:disabled,radio:disabled{border:1px solid #393939;}
check:checked{-gtk-icon-source:image(-gtk-recolor(url("assets/check-symbolic.svg")),-gtk-recolor(url("assets/check-symbolic.symbolic.png")));}
check:indeterminate{-gtk-icon-source:image(-gtk-recolor(url("assets/dash-symbolic.svg")),-gtk-recolor(url("assets/dash-symbolic.symbolic.png")));}
treeview.view radio:checked:selected,radio:checked{-gtk-icon-source: image(-gtk-recolor(url("assets/bullet-symbolic.svg")),-gtk-recolor(url("assets/bullet-symbolic.symbolic.png")));}
treeview.view radio:indeterminate:selected,radio:indeterminate{-gtk-icon-source: image(-gtk-recolor(url("assets/dash-symbolic.svg")),-gtk-recolor(url("assets/dash-symbolic.symbolic.png")));}
/* 进程条 */
progressbar trough{background:#131313;}
progressbar trough progress{background:#1af;}
progressbar:backdrop trough progress{background:#08f;}
/* 级别条 */
levelbar block{min-height:3px;min-width:3px;margin:2px;border:1px solid #068;background:#1af;}
levelbar trough{background:#1b1b1b;}
/* 加载图 */
@keyframes spin{to{-gtk-icon-transform:rotate(1turn);}}
spinner:checked{color:#fff;animation:spin 1s linear infinite;}
/* 拖动条 */
scale{min-height:12px;min-width:12px;padding:10px;}
scale full,scale trough{background:#393939;min-height:3px;min-width:3px;}
scale slider{min-height:3px;min-width:3px;margin:-12px;}
scale slider{border:8px solid #068;background:#1af;border-radius:50%;}
scale highlight{min-height:2px;min-width:2px;}
scale highlight{background:#1af;}scale:disabled highlight{background:#068;}
/* 按钮 */
button{min-height:19px;min-width:19px;padding:3px 3px;background:#3f3f3f;border:1px solid #393939;border-radius:2px;margin:1px;color:#fff;}
button:hover{background:#505050;}
button:checked,button:active{background:#07f;}
button:disabled{background:#2c2c2c;border:1px solid #505050;}
button:backdrop{color:#aaa;background:#3a3a3a;}
button:checked:backdrop,button:active:backdrop{background:#068;}
button.flat{background:transparent;border:transparent;margin:0;border-radius:2px;}
button.flat:disabled{background:rgba(0,0,0,0.2)}
button.flat:checked,button.flat:active{background:rgba(255,255,255,0.22);}
button.flat:backdrop{background:transparent;}
button.flat:checked:backdrop,button.flat:active:backdrop{background:rgba(255,255,255,0.09);}
toolbutton button{background:#393939;border:1px solid #505050}
toolbutton button:hover{background:#505050;}
toolbutton button:checked{background:#1af;}
modelbutton.flat,.menuitem.button.flat{background:transparent;}
modelbutton.flat:hover,.menuitem.button.flat:hover{background:#505050;}
modelbutton.flat arrow.left{-gtk-icon-source:-gtk-icontheme("pan-start-symbolic");}
modelbutton.flat arrow.right{-gtk-icon-source:-gtk-icontheme("pan-end-symbolic");}
combobox button,combobox button:disabled{background:transparent;border:transparent;border-bottom:2px solid #2c2c2c;border-radius:0 0 0 0;}
button.scale{background:#3f3f3f;}
/* 变换按钮 */
switch{background:#1c1c1c;border:1px solid #393939;border-radius:2px;}
switch{color:#fff;}
switch:disabled{color:#888;}
switch:backdrop{color:#bbb;}
switch slider{background:#505050;color:#fff;}
switch:checked slider{background:#08f;color:#fff;}
switch:backdrop:checked slider{background-color:#068;}
switch:disabled slider{background:#1a1a1a;color:#888;}
/* 标签页选择 */
notebook{background:transparent;}
notebook>header>tabs>arrow{min-height:18px;min-width:18px;padding:6px;background:#393939;border-radius:3px;margin:0;color:#fff;}
notebook>header>tabs>arrow.flat{background:transparent;border:transparent;}
notebook>header{padding:0;margin:0;border:none;}
notebook>header tabs{padding:0;margin:0;border:none;min-height:22px;min-width:22px;}
notebook>header tabs tab{padding:2px;min-height:22px;min-width:31px;}
notebook>header.top{border-bottom:1px solid #1af;}
notebook>header.top tabs tab{border-bottom:3px solid transparent;padding-left:6px;padding-right:6px;}
notebook>header.top>tabs>arrow.down,notebook>header.bottom>tabs>arrow.down{-gtk-icon-source:-gtk-icontheme("pan-start-symbolic");}
notebook>header.top>tabs>arrow.up,notebook>header.bottom>tabs>arrow.up{-gtk-icon-source:-gtk-icontheme("pan-end-symbolic");}
/* notebook>header.top tabs tab:hover{border-bottom:3px solid #068;} */
notebook>header.top tabs tab:checked{border-bottom:3px solid #1af;}
notebook>header.bottom{border-top:1px solid #1af;}
notebook>header.bottom tabs tab{border-top:3px solid transparent;padding-left:6px;padding-right:6px;}
/* notebook>header.bottom tabs tab:hover{border-top:3px solid #068;} */
notebook>header.bottom tabs tab:checked{border-top:3px solid #1af;}
notebook>header.left{border-right:1px solid #1af;}
notebook>header.left tabs tab{border-right:3px solid transparent;padding-top:6px;padding-bottom:6px;}
/* notebook>header.left tabs tab:hover{border-right:3px solid #068;} */
notebook>header.left tabs tab:checked{border-right:3px solid #1af;}
notebook>header.right{border-left:1px solid #1af;}
notebook>header.right tabs tab{border-left:3px solid transparent;padding-top:6px;padding-bottom:6px;}
/* notebook>header.right tabs tab:hover{border-left:3px solid #068;} */
notebook>header.right tabs tab:checked{border-left:3px solid #1af;}
notebook>header tabs tab label{color:#ccc}
notebook>header tabs tab:checked label{color:#fff;}
/* 链接 */
button:link>label,button:visited>label,button:link,button:visited,*:link{color:#1af;}
button:link>label:visited,button:visited>label:visited,button:visited,*:link:visited{color:#07f;}
button:link:hover>label,button:visited:hover>label,button:link:hover,button:visited,*:link:hover{text-decoration-line:underline;;}
/* TREEVIEW */
treeview{background:#1a1a1a;}
treeview header label{padding:2px;}
treeview header button{background:#393939;}
treeview button{padding:2px;}
treeview.view.expander{-gtk-icon-source:-gtk-icontheme("pan-end-symbolic");color:#ddd;}
treeview.view.expander:dir(rtl){-gtk-icon-source:-gtk-icontheme("pan-end-symbolic-rtl");}
treeview.view.expander:checked{-gtk-icon-source:-gtk-icontheme("pan-down-symbolic");}
/* 框架 */
frame border{border:1px solid #505050;}
/* 滚动条 */
scrollbar{background:transparent;}
scrollbar slider{min-height:6px;min-width:6px;}
scrollbar slider{background:rgba(255,255,255,0.5);}scrollbar slider:backdrop{background:rgba(255,255,255,0.3);}
scrollbar button{background:transparent;border:1px solid transparent;}
scrollbar button{min-height:0px;min-width:0px;color:#fff;}
/* 顶部菜单 */
menubar,.menubar{-GtkWidget-window-dragging:true;background:#2c2c2c;}
menubar>menuitem,.menubar>menuitem{padding:2px;padding-left:12px;padding-right:12px;min-height:16px;border-bottom:2px solid transparent;}
menubar>menuitem:hover,.menubar>menuitem:hover{border-bottom:2px solid #1af;background:#068;}
menubar:backdrop,.menubar:backdrop{background:#1f1f1f;}
/* 右键和下拉 */
menu,.menu,.context-menu{margin:2px;padding:3px 0;border:1px solid #393939;border-radius:3px;}
menu menuitem,.menu menuitem,.context-menu menuitem{min-height:16px;min-width:39px;padding:3px 6px;}
menu menuitem:hover,.menu menuitem:hover,.context-menu menuitem:hover{background:#1af;}
menu menuitem:disabled,.menu menuitem:disabled,.context-menu menuitem:disabled{color:#bbb;}
menu menuitem arrow,.menu menuitem arrow,.context-menu menuitem arrow{min-height:16px;min-width:16px;}
menu>arrow.top,.menu>arrow.top,.context-menu>arrow.top{-gtk-icon-source:-gtk-icontheme("pan-up-symbolic");}
menu>arrow.bottom,.menu>arrow.bottom,.context-menu>arrow.bottom{-gtk-icon-source:-gtk-icontheme("pan-down-symbolic");}
menu menuitem arrow:dir(ltr),.menu menuitem arrow:dir(ltr),.context-menu menuitem arrow:dir(ltr){-gtk-icon-source:-gtk-icontheme("pan-end-symbolic");}
menu menuitem arrow:dir(rtl),.menu menuitem arrow:dir(rtl),.context-menu menuitem arrow:dir(rtl){-gtk-icon-source:-gtk-icontheme("pan-end-symbolic-rtl");}
/* 标题栏 */
titlebar{background:#393939;}
headerbar{min-height:30px;background:#2c2c2c;color:#fff;border:1px solid #505050;border-radius:9px 9px 0 0;padding:0 0 0 9px;}
headerbar:backdrop{background:#1f1f1f;}
headerbar button{background:transparent;border:1px solid #505050;}
headerbar button.close{margin-right:9px;}
headerbar button:backdrop{background:transparent;}
headerbar button:hover{background:#08f}
headerbar button.close:hover{background:#f22}
headerbar button.close:hover:backdrop{background:#0c0}
headerbar button:checked,headerbar button:active{background:#07f;}
headerbar button.close:checked,headerbar button.close:active{background:#f22}
headerbar entry{background:transparent;padding:0;margin:3px;border-bottom:2px solid #1f1f1f;}
headerbar button{padding-top:0;padding-bottom:0;}
headerbar switch{border:2px solid #505050;background:transparent;}
headerbar switch slider{background:#3f3f3f;}
headerbar switch:checked slider{background:#07f;}
/* 特殊窗口 */
scrolledwindow viewport.frame{border-style:none;}
scrolledwindow overshot{background:transparent;}
scrolledwindow junction{background:transparent;}
scrolledwindow text{background-color:#131313;border:1px dashed #2c2c2c;}
/* 工具提示 */
tooltip{padding:2px;border-radius:2px;background:#2c2c2c;border:1px solid #3f3f3f;}
/* POPOVER 菜单 */
popover.background{background:#393939;padding:2px;}
popover.background separator{margin:2px;background:#505050}
popover modelbutton,popover button{padding:2px;}
popover modelbutton:hover,popover button:hover{background:#068;}
popover modelbutton:focus,popover button:focus{background:#1af;}
/* 工具栏 */
toolbar{padding:3px;-GtkWidget-window-dragging:true;}
statusbar border{border:1px solid transparent;}
statusbar button:hover{background:rgba(255,255,255,0.1)}
/* ScrollWindow —— 带滚动的窗口？ */
scrolledwindow overshoot{background:rgba(0,0,0,0.5);}
/* scrolledwindow junction{background:#1b1b1b;} */
/* 其它 */
separator{background:#393939;min-width:1px;min-height:1px;margin:3px;}
paned separator{min-height:2px;min-width:2px;background:repeating-linear-gradient(135deg,#505050,#505050 5px,transparent 0,transparent 10px);}
paned .sidebar.left,paned .sidebar.right,paned .sidebar.left:dir(rtl),paned .sidebar:dir(rtl),paned .sidebar:dir(ltr),paned .sidebar{border-style:none;}
stacksidebar row{padding:10px 4px;}
combobox arrow{-gtk-icon-source:-gtk-icontheme("pan-down-symbolic");min-width:16px;min-height:16px;}
widget{background:#1b1b1b;}
.keycap{min-width:20px;min-height:25px;padding:5px;color:#ffffff;background-color:#1a1a1a;border:1px solid;border-color:#1b1b1b;border-radius:2px;font-size:smaller;}
/* 文件选择 */
placessidebar row{padding:0;min-height:39px;}
placessidebar row image.sidebar-icon{padding:8px;}
placessidebar row.sidebar-placeholder-row{padding:0 8px;}
placessidebar row:selected *{background:#1af;}
/* XFCE 专属配置，非必要 */
window#whiskermenu-window scrolledwindow{border:none;}
window#whiskermenu-window entry{background:transparent;}
window#whiskermenu-window iconview{padding:9px;border-radius:9px;}
window#whiskermenu-window{background-color:#1f1f1f;border-color:transparent;}
window#whiskermenu-window frame{background-color:transparent;border-color:transparent;}/* 主体窗口！ */
window#whiskermenu-window frame>frame{background-color:transparent;border-color:transparent;}
XfdesktopIconView.view{border-radius:2px;background:transparent;color:#fff;text-shadow:none;}
XfdesktopIconView.view:active,XfdesktopIconView.view:checked{background-color:#1af;color:#fff;}
/* XFCE 专属外观优化，非必要 */
window#whiskermenu-window *{border:none;}
window#whiskermenu-window entry{margin-left:400px;margin-right:400px;border:1px solid #fff;border-radius:3px;}
window#whiskermenu-window frame{padding:22px 39px 22px 39px;}
window#whiskermenu-window .view{background:transparent;}
window#whiskermenu-window .view:focus>.view:hover,window#whiskermenu-window .view:focus>.view:selected{background:#1af;}
.xfce4-panel.panel button{background:#000;border:transparent;margin:0;border-radius:2px;}
.xfce4-panel.panel button:checked,.xfce4-panel.panel button:active{background:#2c2c2c;}
/* CAJA 专属配置，非必要，建议保留 */
rubberband,XfdesktopIconView.view .rubberband,.content-view rubberband,treeview.view rubberband,flowbox rubberband,.rubberband{border:1px solid #08f;background-color:rgba(0,119,255,0.2);}
.caja-navigation-window .view:selected{background-color:rgba(255,255,255,0.39);}
.caja-navigation-window widget.entry{background:#fff;color:#000;}
.caja-navigation-window widget.entry:selected{background:#1af;color:#fff;}
/* LightDM 专属配置 */
.lightdm image{border:none;}
.lightdm entry{font-family:'HarmonyOS Sans SC';}
/* Chrome的专属配置 */
/* window.chromium{border:1px solid #f00;} */
/* 补充 */
